package com.qf.api.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.qf.api.blog.BaseEntity;
import lombok.*;
import lombok.experimental.SuperBuilder;

/**
 * 文章标签表
 * @TableName t_tag
 */
@TableName(value ="t_tag")
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class TagEntity extends BaseEntity {

    /**
     * 标签id
     */
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Long id;

    /**
     * 标签名称
     */
    @TableField(value = "name")
    private String name;
}